package com.yidian.pojo.business;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author whb
 * @create 2021-06-17 15:46
 * @desciption 广告实体类
 */
@Table(name = "tb_ad")
@Data
public class Ad implements Serializable {
    @Id
    private Integer id;//ID

    private String name;//广告名称

    private String position;//广告位置

    private Date startTime;//开始时间

    private Date endTime;//到期时间

    private String status;//状态

    private String image;//图片地址

    private String url;//URL

    private String remarks;//备注
}
